package com.birdpiss.commons.manager.interfaces;

import com.birdpiss.commons.domain.Transaction;

/**
 * The Interface TransactionManager.
 *
 * @author mark
 */
public interface TransactionManager {

	/**
	 * Gets the transaction by id.
	 *
	 * @param transactionId the transaction id
	 *
	 * @return the transaction by id
	 */
	public Transaction getTransactionById(Integer transactionId);

	/**
	 * Insert transaction.
	 *
	 * @param transaction the transaction
	 *
	 * @return the transaction
	 */
	public Transaction insertTransaction(Transaction transaction);

}
